X11: Support keyboard-initiated move and resize operations
authorMatthias Clasen <mclasen@redhat.com>
Mon, 13 Jan 2014 03:06:59 +0000 (22:06 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 13 Jan 2014 03:25:19 +0000 (22:25 -0500)
commit7125cdc5ff3ea398de22c7135306a53a74d304e6
tree62f5b7767c033a1faed19ca6d246b88bb725330b
parent2232430a5afca69cf9403af851ed4fe55558da79
X11: Support keyboard-initiated move and resize operations

The EWMH defines _NET_WM_MOVERESIZE_SIZE_KEYBOARD and
_NET_WM_MOVERESIZE_MOVE_KEYBOARD for operations that are not
initiated by a button-press event. Allow using these by passing
a button of 0 to gdk_window_begin_move/resize_drag.
gdk/gdkwindow.c
gdk/x11/gdkwindow-x11.c